/*    */ package eos.moe.dragoncore;
/*    */ 
/*    */ import net.minecraft.client.Minecraft;
/*    */ import net.minecraft.client.gui.FontRenderer;
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ public class af
/*    */ {
/*    */   public static void v(String a, String str1, double d1, double d2, boolean bool1, boolean bool2, boolean bool3, int i) {
/* 12 */     if (jo.v() <= 0.05F)
/* 13 */       return;  if (a.isEmpty())
/*    */       return; 
/* 15 */     if (bool3) {
/* 16 */       a = a.replace("&", "§");
/*    */     }
/* 18 */     int j = i >> 16 & 0xFF;
/* 19 */     int k = i >> 8 & 0xFF;
/* 20 */     int m = i & 0xFF;
/*    */     
/* 22 */     if (str1 == null || str1.isEmpty()) {
/* 23 */       FontRenderer fontRenderer = (Minecraft.func_71410_x()).field_71466_p;
/*    */       
/* 25 */       i = j | k << 8 | m << 16 | (int)(jo.v() * 255.0F) << 24;
/* 26 */       fontRenderer.func_175065_a(a, (int)(d1 - (bool1 ? (v(a, null, false) / 2) : false)), (float)d2, i, bool2);
/*    */     } else {
/* 28 */       pj pj = hg.v(str1);
/* 29 */       pj.v(j / 255.0F, k / 255.0F, m / 255.0F, pj.i);
/* 30 */       pj.z(a, (int)(d1 - (bool1 ? (v(a, null, false) / 2) : false)), (int)d2);
/* 31 */       hw.q = true;
/*    */     } 
/*    */   }
/*    */ 
/*    */ 
/*    */   
/*    */   public static String v(String a, String str1, int i, boolean bool) {
/* 38 */     if (a == null || a.isEmpty()) {
/* 39 */       return "";
/*    */     }
/* 41 */     if (bool) {
/* 42 */       a = a.replace("&", "§");
/*    */     }
/* 44 */     if (str1 == null || str1.isEmpty()) {
/* 45 */       return (Minecraft.func_71410_x()).field_71466_p.func_78262_a(a, i, false);
/*    */     }
/* 47 */     return hg.v(str1).v(a, i, false);
/*    */   }
/*    */ 
/*    */   
/*    */   public static int v(String a, String str1, boolean bool) {
/* 52 */     if (a == null || a.isEmpty()) {
/* 53 */       return 0;
/*    */     }
/* 55 */     if (bool) {
/* 56 */       a = a.replace("&", "§");
/*    */     }
/* 58 */     if (str1 == null || str1.isEmpty()) {
/* 59 */       return (Minecraft.func_71410_x()).field_71466_p.func_78256_a(a);
/*    */     }
/* 61 */     return hg.v(str1).z(a);
/*    */   }
/*    */ }


/* Location:              D:\fanbian\[D][龙之核心]DragonCore-2.6.0.3.jar!\eos\moe\dragoncore\af.class
 * Java compiler version: 8 (52.0)
 * JD-Core Version:       1.1.3
 */